package org.jeecg.modules.solitaire_app.app.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.solitaire_app.app.entity.YsyProductionMarketing;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 产销比数据
 * @Author: jeecg-boot
 * @Date:   2024-04-07
 * @Version: V1.0
 */
public interface YsyProductionMarketingMapper extends BaseMapper<YsyProductionMarketing> {

    /*查询前7条数据*/
    List<YsyProductionMarketing> getYsyProductionMarketing(@Param("type") Integer type,@Param("days") Integer days);

    /*查询最新的产销比数据*/
    YsyProductionMarketing getTopOneMarketNews(@Param("type") Integer type);
}
